﻿<UserControl x:Class="SpringBeansEditor.Editors.PropertyEditor"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d"  Height="auto"
             d:DesignHeight="150" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="75" />
            <ColumnDefinition Width="150" />
        </Grid.ColumnDefinitions>
        <Label Grid.Row="0" Grid.Column="0" Width="Auto">Name:</Label>
        <ComboBox Name="NameCmb" Grid.Row="0" Grid.Column="1" Margin="5,5,5,5" IsEditable="True"></ComboBox>
        <!--
        <TextBox Name="NameTxt" Grid.Row="0" Grid.Column="1" Margin="5,5,5,5" />
        -->
        <Label Grid.Row="1" Grid.Column="0" Width="Auto">Ref:</Label>
        <TextBox Name="RefTxt" Grid.Row="1" Grid.Column="1" TextChanged="RefTxt_TextChanged" Margin="5,5,5,5" />
        <ListBox Name="ObjectIDsLst" Grid.Row="2" Grid.Column="1" SelectionChanged="ObjectIDsLst_SelectionChanged">
            
        </ListBox>
        <Label Grid.Row="3" Grid.Column="0" Width="50">Value:</Label>
        <TextBox Name="ValueTxt" Grid.Row="3" Grid.Column="1" Margin="5,5,5,5" />

        <Button Name="SaveBtn" Content="Save" Grid.ColumnSpan="2" Grid.Row="4" Click="SaveBtn_Click" />
    </Grid>
</UserControl>
